package com.whfp.coky.ui.task.model

import android.os.Parcel
import android.os.Parcelable

/**
 *
 *
 * created by coky on 2022/3/29
 */
class SearchBQBean() : Parcelable {
//    write云端标曲使用
    var bq_content: String? = null
    var bq_file_name: String? = null
//  save云端标曲使用
    var biaoQuName: String? = null
    var biaoQuText: String? = null
    var biaoQuType: Int? = null
    var biaoQuFile:Any? = null

    constructor(parcel: Parcel) : this() {
        bq_content = parcel.readString()
        bq_file_name = parcel.readString()
        biaoQuName = parcel.readString()
        biaoQuText = parcel.readString()
        biaoQuType = parcel.readValue(Int::class.java.classLoader) as? Int
    }

    override fun writeToParcel(parcel: Parcel, flags: Int) {
        parcel.writeString(bq_content)
        parcel.writeString(bq_file_name)
        parcel.writeString(biaoQuName)
        parcel.writeString(biaoQuText)
        parcel.writeValue(biaoQuType)
    }

    override fun describeContents(): Int {
        return 0
    }

    companion object CREATOR : Parcelable.Creator<SearchBQBean> {
        override fun createFromParcel(parcel: Parcel): SearchBQBean {
            return SearchBQBean(parcel)
        }

        override fun newArray(size: Int): Array<SearchBQBean?> {
            return arrayOfNulls(size)
        }
    }


}